function cv=getdmax(signif,eps1)

%input of the critical values of the Dmax tests
cv=zeros(10,2);
if eps1 == .05
if signif == 1
    
cv=[
8.78   9.14;
11.69  12.33;
14.05  14.76;
16.17  16.95;
17.94  18.85;
19.92  20.89;
21.79  22.81;
23.53  24.55;
25.19  26.40;
26.66  27.79];
end
if signif == 2
cv=[
10.17  10.91;
13.27  14.19;
15.80  16.82;
17.88  19.07;
19.74  20.95;
21.90  23.27;
23.77  25.02;
25.51  26.83;
27.28  28.78;
28.75  30.16];
end
if signif == 3
cv=[
11.52  12.53;
14.69  16.04;
17.36  18.79;
19.51  20.89;
21.57  23.04;
23.83  25.22;
25.46  26.92;
27.32  28.98;
29.20  30.82;
30.84  32.46];
end
if signif == 4
cv=[
13.74  15.02;
16.79  18.11;
19.38  20.81;
21.25  22.81;
24.00  25.46;
26.07  27.63;
28.02  29.57;
29.60  31.32;
31.72  33.32;
33.86  35.47];
end
end

if eps1 == .10

if signif == 1
cv=[
8.05  	8.63;
10.86	11.71;
13.26	14.14;
15.23	16.27;
17.06	18.14;
19.06	20.22;
20.76	22.03;
22.42	23.71;
24.24	25.66;
25.64	27.05];
end
if signif == 2
cv=[
9.52 	10.39;
12.59	13.66;
14.85	16.07;
17.00   18.38;
18.91	20.3;
21.01	22.55;
22.8	24.34;
24.56	26.1;
26.48	27.99;
27.82	29.46];
end
if signif == 3
cv=[
10.83	12.06;
14.15	15.33;
16.64	18.04;
18.75	20.3;
20.68	22.22;
23.25	24.66;
24.75	26.47;
26.54	28.24;
28.33	30.02;
29.9    31.58];
end
if signif == 4
cv=[
13.07	14.53;
16.19	17.8;
18.75	20.42;
20.75	22.35;
23.16	24.81;
25.55	27.28;
27.23	28.87;
29.01	30.62;
30.81	32.74;
32.82	34.51];
end
end

if eps1 == .15
if signif == 1
cv=[
7.46    8.2;
10.16  11.15;
12.4   13.58;
14.58  15.88;
16.49  17.8;
18.23  19.66;
20     21.46;
21.7   23.31;
23.38  24.99;
24.9   26.62];
end
if signif == 2
cv=[
8.88  9.91;
11.7  12.81;
14.23  15.59;
16.37  17.83;
18.42  19.96;
20.3	  21.86;
22.04  23.81;
23.87  25.63;
25.81  27.53;
27.23  29.06];
end
if signif == 3
cv=[
10.39  11.67;
13.18  14.58;
15.87  17.41;
18.24  19.82;
20.1	  21.76;
22.27  23.97;
24.26  26.1;
25.88  27.8;
27.78  29.78;
29.36  31.47];
end
if signif == 4
cv=[
12.37  13.83;
15.41  17.01;
18.26  19.86;
20.39  21.95;
22.49   24.5;
24.55  26.68;
26.75  28.76;
28.51  30.4;
30.62  32.71;
32.17   34.25];
end
end

if eps1 == .20
if signif == 1
cv=[
6.96   7.67;
9.66  10.46;
11.84 12.79;
13.94 15.05;
15.74 16.8;
17.62 18.76;
19.3  20.56;
21.09 22.45;
22.55 24;
24.17 25.6];
end
if signif == 2
cv=[
8.43    9.27;
11.16  12.15;
13.66  14.73;
15.79  17.04;
17.76  19.11;
19.69  21.04;
21.46  22.76;
23.28  24.68;
25.04  26.4;
26.51  28.02];
end
if signif == 3
cv=[
9.94   10.93;
12.68  13.87;
15.31  16.65;
17.73  19.12;
19.59  20.84;
21.56  23.09;
23.4   25.03;
25.31  26.91;
27.02  28.54;
28.67  30.31];
end
if signif == 4
cv=[
12.02  13.16;
14.92  16.52;
17.6   18.89;
19.9   21.27;
21.75  23.39;
23.8   25.17;
26.16  27.71;
27.71  29.3;
29.67  31.67;
31.4   32.99];
end
end

if eps1 == .25
if signif == 1
cv=[
6.55    7.09;
9.16	 9.8;
11.31  12.01;
13.36  14.16;
15.12  15.93;
16.94  17.92;
18.6   19.61;
20.3   21.38;
21.81  22.81;
23.43  24.43];
end
if signif == 2
cv=[
8.01   8.69;
10.67  11.49;
13.15  13.99;
15.28  16.13;
17.14  18.11;
19.1   20.02;
20.84  21.81;
22.62  23.6;
24.28  25.4;
25.8   27.01];
end
if signif == 3
cv=[
9.37   10.24;
12.25  13.02;
14.67  15.64;
17.13  18.17;
18.97  19.92;
20.97  22.08;
22.89  24.38;
24.61  25.76;
26.38  27.55;
27.91  29.13];
end
if signif == 4
cv=[
11.5   12.27;
14.34  15.41;
17.08  18.03;
19.22  20.34;
21.51  22.39;
23.12  24.27;
25.67  26.77;
27.12  28.29;
29.12  30.57;
30.87  32.2];
end
end
